package cn.edu.scau.sec.zhangsan.client;

import cn.edu.scau.sec.zhangsan.adapter.ClassAdapter;
import cn.edu.scau.sec.zhangsan.adapter.ObjectDotAdapter;
import cn.edu.scau.sec.zhangsan.adapter.ObjectLineAdapter;
import cn.edu.scau.sec.zhangsan.adapter.Target;

public class AdapterClient {

	public static void main(String[] args) {
		Target objectDotAdapter = new ObjectDotAdapter();
		objectDotAdapter.printDate("2020.11.22");
		
		Target objectLineAdapter = new ObjectLineAdapter();
		objectLineAdapter.printDate("2020-11-23");
		
		Target classAdapter = new ClassAdapter();
		classAdapter.printDate("2020.11.24");
		
		
	}
}